import static org.junit.Assert.*;

import org.junit.Test;


public class PalmsCalGUITester {

	@Test
	public void testDateCheck() {
		//PalmsCalGUI test = new PalmsCalGUI();
		assertEquals("September 31, 2013 should be an invalid date", false, PalmsCalGUI.dateCheck(2013, 9, 31));
		assertEquals("February 29 is not valid unless leap year", false, PalmsCalGUI.dateCheck(2013, 2, 29));
		assertEquals("February 29, 2016 is leap year, should be a valid date", true, PalmsCalGUI.dateCheck(2016, 2, 29));
	
	}

	

}
